import line from '../svg/line.svg';

export default () => {
    return {
        componentName: 'LowEchartsGauge',
        text: '仪表盘',
        icon: line,
        noUseForm: true,
        props: {
            height :"300px" ,
            option: {
                title: {
                    text: 'Gauge Demo',
                    subtext: '基础仪表盘'
                },
                series: [
                    {
                        center: ['50%', '60%'],
                        type: 'gauge',
                        anchor: {
                            show: true,
                            showAbove: true,
                            size: 20,
                            itemStyle: {
                                borderWidth: 5
                            }
                        },
                        progress: {
                            show: true
                        },
                        data: [
                            {
                                value: 70
                            }
                        ]
                    }
                ]
            }

        }
    }
}
